package com.sellerSystem.vo;

import javax.persistence.Column;

/**
 * 此类只用来存储查询出来的商品信息，并不用来建表
 * 
 * @author Administrator
 *
 */
public class Order {
	//订单ID
	private Integer orderId;
	// 购买者id
	private Integer customerId;
	// 商品名称
	private String commodityName;
	// 商品图片
	private String commodityPic;
	// 商品价格
	private double commodityPrice;
	// 购买数量
	private int orderNumber;
	// 卖家姓名
	private String sellerName;
	// 订购时间
	private String orderTime;

	// 收货人
	private String receiver;

	// 收货地址
	private CustomerAddress orderAddress;
	// 收货人手机号
	private String receiverTel;

	// 总价
	private double money;

	private int orderStatus;// 订单状态：0：取消过的订单，1：正常完成的订单，2：未付款的订单，3：付款完成的订单

	private String evaluation;// 订单评价

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public String getCommodityName() {
		return commodityName;
	}

	public void setCommodityName(String commodityName) {
		this.commodityName = commodityName;
	}

	public String getCommodityPic() {
		return commodityPic;
	}

	public void setCommodityPic(String commodityPic) {
		this.commodityPic = commodityPic;
	}

	public double getCommodityPrice() {
		return commodityPrice;
	}

	public void setCommodityPrice(double commodityPrice) {
		this.commodityPrice = commodityPrice;
	}

	

	public int getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(int orderNumber) {
		this.orderNumber = orderNumber;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public CustomerAddress getOrderAddress() {
		return orderAddress;
	}

	public void setOrderAddress(CustomerAddress orderAddress) {
		this.orderAddress = orderAddress;
	}

	public String getReceiverTel() {
		return receiverTel;
	}

	public void setReceiverTel(String receiverTel) {
		this.receiverTel = receiverTel;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public int getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getEvaluation() {
		return evaluation;
	}

	public void setEvaluation(String evaluation) {
		this.evaluation = evaluation;
	}
	
	
	
}
